package shopping.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import shopping.dao.IRoleMenuDao;
import shopping.entity.RoleMenu;
import shopping.service.interfaces.IRoleMenuService;

@Service("roleMenuServiceImpl")
public class RoleMenuServiceImpl implements IRoleMenuService {

	@Resource
	private IRoleMenuDao roleMenuDao;

	@Override
	public void save(RoleMenu roleMenu) {
		roleMenuDao.save(roleMenu);
	}

	@Override
	public void deleteById(RoleMenu roleMenu) {
		roleMenuDao.deleteById(roleMenu);
	}

	@Override
	public void update(RoleMenu roleMenu) {
		roleMenuDao.update(roleMenu);
	}

}
